	export default class Order {
		
		constructor(orderNo,createTime,productName,productCover,orderStatus, payAmount) {
			this.orderNo = orderNo;
			this.createTime = createTime;
			this.productName = productName;
			this.productCover = productCover;
			this.orderStatus = orderStatus;
			this.payAmount = payAmount;
			
		}
		
		static parseFromJsonString(jsonString) {
			let jsonObject = JSON.parse(jsonString);
			return new Order(
				jsonObject.orderNo,
				jsonObject.createTime,
				jsonObject.productName,
				jsonObject.productCover,
				jsonObject.orderStatus,
				jsonObject.payAmount
				
			);
		}

	}